home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11542 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  703 b 

  1. Path: FreeNet.Carleton.CA!aq436
  2. From: aq436@FreeNet.Carleton.CA (Jerry Boyd)
  3. Newsgroups: comp.lang.c
  4. Subject: String Function
  5. Date: 23 Mar 1996 06:45:44 GMT
  6. Organization: The National Capital FreeNet
  7. Sender: aq436@freenet2.carleton.ca (Jerry Boyd)
  8. Message-ID: <4j06mo$1nb@freenet-news.carleton.ca>
  9. Reply-To: aq436@FreeNet.Carleton.CA (Jerry Boyd)
  10. NNTP-Posting-Host: freenet2.carleton.ca
  11.  
  12.  
  13.  
  14. How would I write a function (in the form of 
  15. substring[source,start,count,result] ... yes, I need to
  16. reinvent the wheel) to remove a specified number of 
  17. characters from a string and store it in an array.  For 
  18. instance, extracting three characters from a string, 
  19. starting at from the 4th character.
  20.  
  21.  
  22.  
  23. --
  24.  
  25.